package com.ab;


import org.junit.Test;

/**
 * Created by IntelliJ IDEA.
 * User: Anna.Bulenkova
 * Date: 21.10.11
 * Time: 12:56

 */
public class CubeTest {
    @Test
    public void testVerticals() throws Exception {
        int dimension = 4;
        Cube cube = new Cube(dimension);
        int verticals = (int) Math.pow(2, dimension);
        assert verticals == cube.getVerticalsCount();


    }
}
